TitleInputWidget: Correct links when 'relative' option used
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 16 Jul 2015 18:37:16 +0000 (20:37 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 16 Jul 2015 19:09:53 +0000 (19:09 +0000)
commitecc073bb89dcfa3ecd8aab8e0cb47c84a7558130
tree3196c65f7360b78033e45601e1aa9e837b00fb73
parent93fd3f8191491236e34c402a3a7fec7adf34c3d3
TitleInputWidget: Correct links when 'relative' option used

Previously, the links in the suggestions dropdown also pointed to
the relative version, e.g. "/wiki/Foo" instead of "/wiki/Template:Foo".

This also corrects missing dependency for mediawiki.util, which
is no longer used directly (although mediawiki.Title depends on it,
so the code worked correctly in spite of missing dependency).

Follow-up to ddca1c657e21bd49c01ead2e5e0fbcdb9ee26255.

Change-Id: I8f9293636c597cd617e68b4c238d7424915cf351
includes/widget/TitleInputWidget.php
resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js
resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js